package me.ak.utils;

import java.util.HashMap;

import org.jnbt.CompoundTag;
import org.jnbt.Tag;

public class CManip {
	
	public static HashMap<String,Tag> toMap(Tag... tags) {
		HashMap<String, Tag> tagMap = new HashMap<String, Tag>();
		for (Tag t: tags) {
			tagMap.put(t.getName(), t);
		}
		
		return tagMap;
	}
	
	public static HashMap<String, Tag> initMap() {
		return new HashMap<String, Tag>();
	}
	
	public static HashMap<String, CompoundTag> initCMap() {
		return new HashMap<String, CompoundTag>();
	}

}
